package com.lhn.bbs.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ PACKAGE:com.qf.dto
 * @ Author:LiWenJin
 * @ Date:2021/1/13  11:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserMsgDto {
    private String otel;//账户
    private Double totalPrice;//总金额
    private int totalNum;//总订单数

    private Integer oNumber;//订单号

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date oTime;//订购时间

    private String cName;//课程名称
    private String status;//支付状态
    private Double paid;//应付金额
}
